.zhu5-container {
  width: 100%;
  height: 100vh;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* 导航栏样式 */
.zhu5-navbar {
  background-color: white;
  border-bottom: 1px solid #e8e8e8;
}

.nav-icon {
  font-size: 16px;
  color: #666;
}

/* 患者信息区域 */
.patient-info {
  background-color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
}

.patient-basic {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.patient-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.patient-id {
  font-size: 14px;
  color: #666;
}

.switch-patient {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1890ff;
  font-size: 14px;
  cursor: pointer;
}

/* 列表标题和筛选 */
.list-header {
  background-color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8e8e8;
  margin-top: 1px;
}

.list-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.filter-section {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #999;
  font-size: 14px;
  cursor: pointer;
}

/* 陪护证列表 */
.certificate-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* 陪护证卡片 */
.certificate-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 12px;
  min-height: 250px;
}

.certificate-card .adm-card-body {
  padding: 16px;
}

/* 卡片头部 */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.escort-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.escort-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.escort-details {
  flex: 1;
}

.escort-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.escort-id {
  font-size: 14px;
  color: #666;
}

/* 状态徽章 */
.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  background-color: #ff9500; /* 默认橙色 */
}

.status-badge.pending {
  background-color: #ff9500; /* 橙色 - 待审核 */
}

.status-badge.effective {
  background-color: #52c41a; /* 绿色 - 已生效 */
}

/* 患者信息区域 */
.patient-info-section {
  margin-bottom: 16px;
 
}

.info-item {
  display: flex;
  margin-bottom: 8px;
  align-items: flex-start;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item .label {
  color: #666;
  font-size: 14px;
  min-width: 80px;
  flex-shrink: 0;
}

.info-item .value {
  color: #333;
  font-size: 14px;
  flex: 1;
}

/* 操作按钮 */
.action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cancel-btn {
  background-color: #ff4d4f;
  border-color: #ff4d4f;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  height: 32px;
  padding: 0 16px;
}

.cancel-btn:hover {
  background-color: #ff7875;
  border-color: #ff7875;
}

.deregister-btn {
  background-color: #ff4d4f;
  border-color: #ff4d4f;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  height: 32px;
  padding: 0 16px;
  flex: 1;
}

.deregister-btn:hover {
  background-color: #ff7875;
  border-color: #ff7875;
}

.passcode-btn {
  background-color: #1890ff;
  border-color: #1890ff;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  height: 32px;
  padding: 0 16px;
  flex: 1;
}

.passcode-btn:hover {
  background-color: #40a9ff;
  border-color: #40a9ff;
}

/* 悬浮新增陪护按钮 */
.add-escort-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.add-escort-btn {
  width: 56px;
  height: 56px;
  background-color: #1890ff;
  border-color: #1890ff;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  line-height: 1;
}

.add-escort-btn:hover {
  background-color: #40a9ff;
  border-color: #40a9ff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(24, 144, 255, 0.5);
}

.add-escort-btn:active {
  transform: scale(0.95);
}

/* 响应式设计 */
@media (max-width: 375px) {
  .patient-info,
  .list-header {
    padding: 12px;
  }
  
  .certificate-list {
    padding: 12px;
  }
  
  .certificate-card .adm-card-body {
    padding: 12px;
  }
  
  .escort-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .escort-name {
    font-size: 15px;
  }
  
  .escort-id {
    font-size: 13px;
  }
  
  .action-buttons {
    gap: 8px;
  }
  
  .add-escort-container {
    bottom: 16px;
    right: 16px;
  }
  
  .add-escort-btn {
    width: 48px;
    height: 48px;
    font-size: 10px;
  }
}

/* 滚动条样式 */
.certificate-list::-webkit-scrollbar {
  width: 4px;
}

.certificate-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.certificate-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.certificate-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
